package com.hsgene.user.domain;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.hsgene.common.util.date.TimeJsonDeserializer;

import java.io.Serializable;
import java.util.Date;

/**
 * @description:
 * @projectName: hdas-geneshop-server
 * @package: com.hsgene.user.domain
 * @author: maodi
 * @createDate: 2018/11/5 16:21
 * @version: 1.0
 * Copyright: Copyright (c) 2018
 */
public class DoctorDto implements Serializable {
    private static final long serialVersionUID = -3357214931422296765L;

    /**
     * 序号
     */
    private int num;

    /**
     * 逻辑主键
     */
    private String id;

    /**
     * 用户主表的ID
     */
    private String userId;

    /**
     * 地服人员的ID
     */
    private String groundServantId;

    /**
     * 性别(1-女，2-男)
     */
    private Integer sex;

    /**
     * 出生日期
     */
    @JsonDeserialize(using = TimeJsonDeserializer.class)
    private Date birthdayDateTime;

    /**
     * 身份证号
     */
    private String identityCardNo;

    /**
     * 医院
     */
    private String hospital;

    /**
     * 课室
     */
    private String dept;

    /**
     * 资格证
     */
    private String licenseImage;

    /**
     * 地址
     */
    private String address;

    /**
     * 岗位
     */
    private String post;

    /**
     * 是否通过认证(0-未通过，1-通过)
     */
    private Integer isCertification;

    /**
     * 医生的真实名字
     */
    private String realName;

    /**
     * 医生电话
     */
    private String phone;

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGroundServantId() {
        return groundServantId;
    }

    public void setGroundServantId(String groundServantId) {
        this.groundServantId = groundServantId;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Date getBirthdayDateTime() {
        return birthdayDateTime;
    }

    public void setBirthdayDateTime(Date birthdayDateTime) {
        this.birthdayDateTime = birthdayDateTime;
    }

    public String getHospital() {
        return hospital;
    }

    public void setHospital(String hospital) {
        this.hospital = hospital;
    }

    public String getDept() {
        return dept;
    }

    public void setDept(String dept) {
        this.dept = dept;
    }

    public String getLicenseImage() {
        return licenseImage;
    }

    public void setLicenseImage(String licenseImage) {
        this.licenseImage = licenseImage;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public Integer getIsCertification() {
        return isCertification;
    }

    public void setIsCertification(Integer isCertification) {
        this.isCertification = isCertification;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIdentityCardNo() {
        return identityCardNo;
    }

    public void setIdentityCardNo(String identityCardNo) {
        this.identityCardNo = identityCardNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
